<!--
 * @Author       : Hejh(3010733382@qq.com)
 * @Version      : V1.0
 * @Date         : 2024-02-08 10:46:36
 * @Description  : 
-->
<template>
  <slot :handleChange="handleChange"></slot>
</template>

<script setup lang="ts">
const emits = defineEmits<{
  (e: 'changeSettings', key: string, value: string): void
}>()

const handleChange = (key: string, value: string) => {
  emits('changeSettings', key, value)
}
</script>

<style scoped lang="scss"></style>
